package com.czkevin.cif;

import com.czkevin.cif.enchantments.Enchantment;
import com.czkevin.cif.enchantments.EnchantmentInstance;

import java.util.List;

public interface EnchantableItem extends CIFItem {

  List<EnchantmentInstance> getEnchantments(CIFItemInstance instance);

  EnchantmentInstance getEnchantment(CIFItemInstance instance, Enchantment type);

  void setEnchantment(CIFItemInstance instance, Enchantment type, int level);

  void removeEnchantment(CIFItemInstance instance, Enchantment type);

}
